import mongoose from 'mongoose'
const Schema = mongoose.Schema
const Mixed = Schema.Types.Mixed
const CitySchema = new Schema({
  id: String,
  name: String,
  province: String,
  areas: [
    {
      areaName: String,
      placeName: [
        String
      ],
      _id: false
    }
  ]
},{versionKey: false})

export default mongoose.model('City', CitySchema)